﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace cube
{
    /// <summary>
    /// Eigener Argumenttyp für das Login-Event, in dem Username und userLevel gespeichert sind
    /// </summary>
    public class userEventArgs : System.EventArgs
    {
        private readonly string user;
        private readonly int userLevel;
        public userEventArgs(string user, int userLevel)
            : base()
        {
            this.user = user;
            this.userLevel = userLevel;
        }
        public string User
        { get { return this.user; } }
        public int UserLevel
        { get { return this.userLevel; } }
    }
}
